import Cookies from 'js-cookie'

const tokenKey = 'blog_token'

export function getToken(){
    return Cookies.get(tokenKey)
}

export  function setToken(token:any){
    return Cookies.set(tokenKey,token)
}

export function removeToken(){
    return Cookies.remove(tokenKey)
}